/**
 * @author yxw
 * date : 2014年2月25日 下午6:29:13 
 */
package com.tzinfo.data;

import android.location.Location;


public class TztData {
	// 静态常量
	public static final String USER_ISLOGIN = "user_islogin";
	public static final String USER_NAME = "user_name";
	public static final String USER_PASSWORD = "user_password";
    public static String baiduPushApiKey = "ouDCh9hjWeQXw0zKBrmiukZC";
	// 静态变量
	public static boolean isUserLogin = false;
	public static UserInfo userInfo = null;
	public static Location location=null;
	public static double latitude = 0;
	public static double longitude = 0;
	public static int widthPixels=0;
	public static int heightPixels=0;

	// 静态方法
	public static boolean checkLoginSubmitInfo(String username, String password) {
		if (username == null || "".equals(username.trim()) || password == null
				|| "".equals(password.trim())) {
			return false;
		}
		return true;
	}

}
